package com.admin.exam.vo.query;

import com.admin.base.BaseQuery;


/**
 *
 */
public class QuestionQuery extends BaseQuery {

    /**
     *
     */
    private Integer id;
    /**
     * 题目
     */
    private String content;
    /**
     * 答案
     */
    private String answer;
    /**
     * 分值
     */
    private String score;

    private String single;

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return this.id;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return this.content;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public String getAnswer() {
        return this.answer;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getScore() {
        return this.score;
    }

    public String getSingle() {
        return single;
    }

    public void setSingle(String single) {
        this.single = single;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("Question[");
        sb.append("id=").append(id);
        sb.append(",content=").append(content);
        sb.append(",answer=").append(answer);
        sb.append(",score=").append(score);
        sb.append("]");
        return sb.toString();
    }
}
